package com.tddx.activiti.business.core.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.tddx.activiti.utils.StringUtils;

/**
 * 实体类 
 * @Auth yanweizhao 
*/
@Entity
@Table(name="user_col_comments", schema="SYS")
public class UserColCommentsEntity implements Serializable{

	/**
	 * 序列化版本号
	 */
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private ColId pk;
	
	@Column(name="COMMENTS")
	private String comments;
	
	public ColId getPk() {
		return pk;
		
	}

	public void setPk(ColId pk) {
		this.pk = pk;
	}

	public String getComments() {
		return StringUtils.defaultString(comments, "");
	}

	public void setComments(String comments) {
		this.comments = comments;
	}
	
}